/*
   Splash Screen Plugin for Miranda-IM (www.miranda-im.org)
   (c) 2004-2005 nullbie, (c) 2005-2006 Thief

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

   File name      : $URL: http://svn.mirandaim.ru/mainrepo/splashscreen/trunk/src/splash.h $
   Revision       : $Rev: 154 $
   Last change on : $Date: 2006-09-02 21:44:36 +0400 (Сб, 02 сен 2006) $
   Last change by : $Author: Thief $

*/

#ifndef __splash_h__
#define __splash_h__

extern char szSplashFile[MAX_PATH], szSoundFile[MAX_PATH];
extern bool bserviceinvoked, bmodulesloaded;
bool bpreviewruns;
extern char *mirandaVerString;
extern char szPrefix[128];
extern HANDLE hSplashTread;
extern HINSTANCE hInst;
int SplashThread(void *);
HWND hwndSplash;
MyBitmap *SplashBmp, *tmpBmp;

BOOL (WINAPI *MyUpdateLayeredWindow)
   (HWND hwnd, HDC hdcDST, POINT *pptDst, SIZE *psize, HDC hdcSrc, POINT *pptSrc,
    COLORREF crKey, BLENDFUNCTION *pblend, DWORD dwFlags);

#endif // __splash_h__